<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<ol class="breadcrumb">
	<li><a href="${pageContext.request.contextPath}/home">首页</a></li>
	<li class="active">分类</li>
</ol>

<div class="category">
	<ul class="list-group">
		<c:forEach var="category" items="${categories }">
			<li class="list-group-item"><span class="badge">${category.count}</span>
				<a
				href="${pageContext.request.contextPath}/category?categoryId=${category.id}">${category.name}</a>
			</li>
		</c:forEach>
	</ul>
</div>
